package com.aya.aop.asp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class InterfaceImplBean implements InterfaceBean {
    Logger logger = LoggerFactory.getLogger(InterfaceImplBean.class);

    @Override
    @AopAnnotation
    public void joke() {

        logger.info("讲笑话222");
        sayHi();
    }


    public void sayHi() {
        logger.info("其他方法");
    }
}
